

<tr style="border: 5px solid black;<?php if(strstr( $data->page,"backend.php")) echo 'background: #B7D6E7;'; if($data->error) echo 'background: #FF0000; color: #fff;'?>">
    <td style="width: 15%"><?php echo $data->c_date ?></td>
    <td style="width: 10%"><?php echo $data->ip ?></td>
    <td style="width: 70%"><?php echo CHtml::link(CHtml::encode($data->page), array('/CounterAdmin/counter/view', 'id'=>$data->id_view)); ?><td>
    <td><a target="_blank" href="<?php echo $data->page ?>">Ссылка</a></td>
</tr>

